<!--{template common/header}-->
<!--[name][/name]-->
<script type="text/javascript" src="{$_G['setting']['jspath']}forum_viewthread.js?{VERHASH}"></script>
<script type="text/javascript">zoomstatus = parseInt($_G['setting']['zoomstatus']), imagemaxwidth = '{$_G['setting']['imagemaxwidth']}', aimgcount = new Array();</script>
<div class="theme-navbar">
    <div class="mfwp">
    	<div class="z">
		<a href="./" title="{lang homepage}">{$language[mfhome]}</a><em class="fa">&#xe63f;</em>
		<a href="{echo getportalcategoryurl($cat[catid])}">$cat[catname]</a> <em>&rsaquo;</em>
		{lang view_content}
	</div>
</div>
</div>
<!--{hook/view_article_top}-->
<!--{ad/text/wp a_t}-->
<style id="diy_style" type="text/css"></style>
<style>.xiaoyu_wp{ width:100%}body{ background:#f4f6f5}</style>
<div class="wp mfwp">
	<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>
<div class="mfwp xiaoyu_catwp"> 
   <div class="content-box-wp"> 
    <div class="content-box-mr">
		<div class="content content-box">
			
	<div class="xiaoyu_mbfl "> 
       <ul> 
        <li class="cat-item"><a href="portal.php?mod=list&catid=6">漫画</a></li> 
        <li class="cat-item"><a href="portal.php?mod=list&catid=8">原画</a> </li> 
        <li class="cat-item"><a href="portal.php?mod=list&catid=9">动画</a> </li> 
       </ul> 
      </div>
			<br>
			
        <header class="article-header"> 
               <h1 class="article-title">$article[title] <!--{if $article['status'] == 1}-->({lang moderate_need})<!--{elseif $article['status'] == 2}-->({lang ignored})<!--{/if}--></h1> 
               <div class="article-meta">
                    <span class="item item-1"><em class="fa">&#xe7d8;</em>$article[dateline]</span>
                    <!--{if $article[from]}--><span class="item item-3"><em class="fa">&#xe929;</em><!--{if $article[fromurl]}--><a href="$article[fromurl]" target="_blank">$article[from]</a><!--{else}-->$article[from]<!--{/if}--></span><!--{/if}-->
                    <span class="item item-4"><em class="fa">&#xe678;</em><!--{if $article[viewnum] > 0}-->$article[viewnum]<!--{else}-->0<!--{/if}--></span>
   				<!--{if $_G['group']['allowmanagearticle'] || ($_G['group']['allowpostarticle'] && $article['uid'] == $_G['uid'] && (empty($_G['group']['allowpostarticlemod']) || $_G['group']['allowpostarticlemod'] && $article['status'] == 1)) || $categoryperm[$value['catid']]['allowmanage']}-->
					<span class="item item-1"><em class="fa">&#xe686;</em><a href="portal.php?mod=portalcp&ac=article&op=edit&aid=$article[aid]">{lang edit}</a></span>
					<span class="item item-1 mf-hide"><em class="fa">&#xe610;</em><a  id="related_article" href="portal.php?mod=portalcp&ac=related&aid=$article[aid]&catid=$article[catid]&update=1" onclick="showWindow(this.id, this.href, 'get', 0);return false;">{lang article_related}</a></span>
					<!--{if $article[status]>0 && ($_G['group']['allowmanagearticle'] || $categoryperm[$value['catid']]['allowmanage'])}-->
						<span class="item item-1"><em class="fa">&#xe7d8;</em><a href="portal.php?mod=portalcp&ac=article&op=verify&aid=$article[aid]" id="article_verify_$article[aid]" onclick="showWindow(this.id, this.href, 'get', 0);">{lang moderate}</a></span>
					<!--{else}-->
						<span class="item item-1"><em class="fa">&#xe6b4;</em><a href="portal.php?mod=portalcp&ac=article&op=delete&aid=$article[aid]" id="article_delete_$article[aid]" onclick="showWindow(this.id, this.href, 'get', 0);">{lang delete}</a></span>
					<!--{/if}-->
				<!--{/if}-->
				<!--{if $article[status]==0 && ($_G['group']['allowdiy']  || getstatus($_G['member']['allowadmincp'], 4) || getstatus($_G['member']['allowadmincp'], 5) || getstatus($_G['member']['allowadmincp'], 6))}-->
				<span class="item item-1 mf-hide"><em class="fa">&#xe689;</em><a href="portal.php?mod=portalcp&ac=portalblock&op=recommend&idtype=aid&id=$article[aid]" onclick="showWindow('recommend', this.href, 'get', 0)">{lang blockdata_recommend}</a></span>
				<!--{/if}-->
                    <!--{hook/view_article_subtitle}-->
                        </div>  
              </header>
				<!--[diy=diycontenttop]--><div id="diycontenttop" class="area"></div><!--[/diy]-->
      <!--{if $article[summary] && empty($cat[notshowarticlesummay])}-->
      <div class="single-intro"> 
       <p><strong>{lang article_description}:&nbsp; </strong>$article[summary] <!--{hook/view_article_summary}--></p> 
      </div>			
      <!--{/if}-->	
				<table cellpadding="0" cellspacing="0" class="vwtb"><tr><td id="article_content">
					<!--{ad/article/a_af/1}-->
					<!--{if $content[title]}-->
					<div class="vm_pagetitle xw1">$content[title]</div>
					<!--{/if}-->
					$content[content]
				</td></tr></table>
				<!--{hook/view_article_content}-->
				<!--{if $multi}--><div class="ptw pbw cl">$multi</div><!--{/if}-->
				<!--[diy=diycontentbottom]--><div id="diycontentbottom" class="area"></div><!--[/diy]-->
				<script type="text/javascript" src="{$_G[setting][jspath]}home.js?{VERHASH}"></script>
				<!--{if !empty($contents)}-->
				<div id="inner_nav" class="ptn xs1">
					<h3>{lang article_inner_navigation}</h3>
					<ul class="xl xl2 cl">
						<!--{loop $contents $key $value}-->
						<!--{eval $curpage = $key+1;}-->
						<!--{eval $inner_view_url = helper_page::mpurl($viewurl, '&page=', $curpage);}-->
						<li>&bull; <a href="$inner_view_url"{if $key === $start} class="xi1"{/if}>{lang article_inner_page_pre} {$curpage} {lang article_inner_page} $value[title]</a></li>
						<!--{/loop}-->
					</ul>
				</div>
				<!--{/if}-->
				<!--[diy=diycontentclickbottom]--><div id="diycontentclickbottom" class="area"></div><!--[/diy]-->
<div class="article-actions cl"> 
   <div class="reward">
   <!--{hook/view_article_op_extra}-->
	<a href="home.php?mod=spacecp&ac=favorite&type=article&id=$article[aid]&handlekey=favoritearticlehk_{$article[aid]}" id="a_favorite" onclick="showWindow(this.id, this.href, 'get', 0);" class="collect-btn"><em class="fa"></em>&nbsp;{lang favorite}</a>
	<a href="javascript:;" class="action-rewards" etap="rewards"><em class="fa"></em>{$language[rewards4]}</a> 
   </div> 
   <p class="reward-notice">{$language[rewards5]}</p> 
   <div class="shares">
    <!--{if !empty($_G['setting']['pluginhooks']['view_share_method'])}-->
    <div class="tshare cl">
    <strong>{lang viewthread_share_to}:</strong>
    <!--{hook/view_share_method}-->
    </div>
    <!--{/if}-->
<div class="bdsharebuttonbox"><a href="#" class="bds_weixin" data-cmd="weixin"></a><a href="#" class="bds_qzone" data-cmd="qzone"></a><a href="#" class="bds_tsina" data-cmd="tsina"></a><a href="#" class="bds_tqq" data-cmd="tqq"></a><a href="#" class="bds_sqq" data-cmd="sqq" ></a><a href="#" class="bds_more" data-cmd="more"></a></div>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"24"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
  </div>
</div>
			<!--{if !empty($aimgs[$content[pid]])}-->
				<script type="text/javascript" reload="1">aimgcount[{$content[pid]}] = [<!--{echo implode(',', $aimgs[$content[pid]]);}-->];attachimgshow($content[pid]);</script>
			<!--{/if}-->
			<!--{if $article['preaid'] || $article['nextaid']}-->
            <nav class="article-nav"> 
            <!--{if $article['prearticle']}--><span class="article-nav-prev">{lang pre_article}<a href="{$article['prearticle']['url']}">{$article['prearticle']['title']}</a></span><!--{/if}-->
            <!--{if $article['nextarticle']}--><span class="article-nav-next">{lang next_article}<a href="{$article['nextarticle']['url']}">{$article['nextarticle']['title']}</a></span><!--{/if}-->
            </nav>
			<!--{/if}-->
       		<!--{if $article['related']}-->
		 <div class="xiaoyu-related">
            <h3>{lang view_related}</h3> 
				<ul>
				<!--{loop $article['related'] $raid $rvalue}-->
					<input type="hidden" value="$raid" />
					<li><a href="{$rvalue[uri]}">{$rvalue[title]}</a></li>
				<!--{/loop}-->
				</ul>
		</div>
		<!--{/if}-->
		<!--[diy=diycontentrelatetop]--><div id="diycontentrelatetop" class="area"></div><!--[/diy]-->
		<!--{ad/article/mbm hm/2}--><!--{ad/article/mbm hm/3}-->
		<!--[diy=diycontentrelate]--><div id="diycontentrelate" class="area"></div><!--[/diy]-->
        </div>
		<!--{if $article['allowcomment']==1}-->
			<!--{eval $data = &$article}-->
			<!--{subtemplate portal/portal_comment}-->
		<!--{/if}-->
		<!--[diy=diycontentcomment]--><div id="diycontentcomment" class="area"></div><!--[/diy]-->
    </div> 
   </div> 
   <div class="xiaoyu_widget_r"> 
    <div class="widget-box widget-asst" style="padding:0">
    <!--[diy=diyadd]--><div id="diyadd" class="area"></div><!--[/diy]-->
    </div>
    <div class="widget-box widget_tabtext"> 
     <div class="xiaoyu_tabhd" id="tabnav">
      <!--[diy=diytabnav]--><div id="diytabnav" class="area"></div><!--[/diy]-->
     </div> 
     <div id="tabcontent" class="tab-content"> 
      <ul id="tab-recent" class="tab_postlist tab-pane fade thumbs-enabled active in">
      <!--[diy=diyrecent]--><div id="diyrecent" class="area"></div><!--[/diy]-->
      </ul>
      <ul id="tab-popular" class="tab_postlist tab-pane fade thumbs-enabled"> 
      <!--[diy=diypopular]--><div id="diypopular" class="area"></div><!--[/diy]-->
      </ul>
      <ul id="tab-comments" class="tab-pane fade avatars-enabled">
      <!--[diy=diycomments]--><div id="diycomments" class="area"></div><!--[/diy]-->
      </ul> 
     </div> 
    </div> 
    <div class="widget-box widget-postlist">
    <!--[diy=diyjh]--><div id="diyjh" class="area"></div><!--[/diy]-->
    </div>
   </div>
  </div>
<!--{if $_G['relatedlinks']}-->
	<script type="text/javascript">
		var relatedlink = [];
		<!--{loop $_G['relatedlinks'] $key $link}-->
		relatedlink[$key] = {'sname':'$link[name]', 'surl':'$link[url]'};
		<!--{/loop}-->
		relatedlinks('article_content');
	</script>
<!--{/if}-->
<input type="hidden" id="portalview" value="1">
<!--{template common/footer}-->
